package com.de.constant;

/**
 *  
 *  * @projectName mybatis-demo
 *  * @title     MybatisEnum   
 *  * @package    com.de.enumerate  
 *  * @description    一些常量值
 *  * @author IT_CREAT     
 *  * @date  2020 2020/5/5 0005 下午 18:35  
 *  * @version V1.0.0 
 *  
 */
public class MybatisConstant {
    /**
     * 查询条件参数类型
     */
    public final static String eq = "=";//等于
    public final static String ne = "!=";//不等于
    public final static String lt = "<";//小于
    public final static String gt = ">";//大于
    public final static String ltAndEq = "<=";//小于等于
    public final static String gtAndEq = ">=";//大于等于
    public final static String in = "in";//in
    public final static String leftLike = "left like";//左模糊查询
    public final static String rightLike = "right like";//右模糊查询
    public final static String leftAndRightLike = "leftAndRight like";//两边模糊查询
    public final static String between = "between";//范围查询

    /**
     * 排除参数类型
     */
    public final static String desc = "desc";//降序排序
    public final static String asc = "asc";//升序排序

    /**
     * 条件拼接类型
     */
    public final static String and = "and";//and拼接条件
    public final static String or = "or";//or拼接条件
}
